﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Titler.Controls
{
    /// <summary>
    /// Interaction logic for MandrelCtrl.xaml
    /// </summary>
    public partial class MandrelCtrl : UserControl
    {
        public MandrelCtrl()
        {
            InitializeComponent();
        }


        /// <summary>
        /// Return title
        /// </summary>
        public string[] TitleReturn()
        {
            string[] returnTitle = new string[2];
            returnTitle[0] = Bypass.Text == "YES" ? "Bypass" : "";
            returnTitle[1] = Flowmeter.Text == "YES" ? "Flowmeter" : "";
            return returnTitle;
        }
    }
}
